package com.chinaoly.baotou.model.es;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Id;
import java.util.Date;

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class ImageCaptureRecord {
    @Id
    private String id;
    private String access_key;
    private String background_image;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date capture_time;
    private String device_number;
    private String face_image;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date save_time;
    private String community_name;
    private String community_code;
    private String District_code;
    private String place;
    private String dev_name;
}
